home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d19
/
pcbmsg1.arc
/
PCBMSG.DOC
< prev
next >
Wrap
Text File
|
1991-10-20
|
4KB
|
84 lines
PCBOARD is a registered trademark of Clark Development Company, Inc.
*:::::::::::::::::::::::::::[ DISCLAIMER ]:::::::::::::::::::::::::::::::::*
PCBMSG.EXE by Bill Shields is released to public domain.
PCBMSG.EXE is provided AS IS without any warranty, expressed or implied.
This includes without limitation the fitfulness to a particular
purpose or application and any warranties of merchantability. While I tried
to be as thorough as possible while debugging PCBMSG.EXE, I shall not be
liable for any damages, whether direct, indirect, special, or consequential
arising from a failure of PCBMSG.EXE to operate in a manner desired by the
user. I shall not be liable for any damage to data or property which may
by caused directly or indirectly by use of PCBMSG.EXE.
In no event will I be liable to you for any damages, including any lost
profits, lost savings or other incidental or consequential damages arising
out of your use or inability to use the program, or for any claim by any
other party.
=========================[ BETA TEST VERSION ]==============================
NOTE: If you have problems with this program please let me know on the
SALT AIR. PD does not mean it's not supported.
=========================[ BETA TEST VERSION ]==============================
MESSAGE ADD UTILITY FOR PCBOARD
===============================
Ver: 1.0
Usage: PCBMSG [/X:XX] [/X:XX] [...]
Purpose: Update message base from DOS text file.
/D:filename .......... Filename with message text.
/M:message subject ... Subject for message.
/F:message from ...... Who message is from.
/T:message to ........ Who message is to.
/C:conference ........ Conference to place mail in.
/S:Message status .... Message status (see note).
/N ................... Multi-Node flag.
NOTE: No status will default to public message. Available status codes follow:
* = Private message ~ = Comment to SYSOP
MSG ? will produce the above information. Some things that should be noted
about this program follow:
** If your information after the switch (i.e. /T:info) contains more then
one word then you will need to surround the entire string with quotes. For
example PCBMSG /F:TEST.FIL "/T:BILL SHIELDS" /F:SYSOP ... ... (this has to
do with the way DOS handles command line arguments).
** In your message text file end your message with a carriage return or you
last line will not show up (I will correct this the next release).
** I made a program called PCBSCMP which extracts specified data from
PCBOARD.SYS for the current user in a door (i.e. Full name) and sets the
environment with it. You can use this program to specify who the message
should be sent to. Below I manually set the environment for the sake of
the demo so that you can see how this can be done. PCBSCM3.ZIP can be found
on the SALT AIR BBS.
-----------------------------[ DEMO.BAT ]-----------------------------------
echo off
cls
set FN=BILL SHIELDS
if !FN==! goto noenv
: Create private message to %FN% from SYSOP in conference 8
pcbmsg /D:test.fil /M:ENVIRONMENT /F:SYSOP "/T:%FN%" /C:8 /S:*
:noenv
: Create private message to Bill Shields From SYSOP for Conference 8
pcbmsg /D:test.fil /M:WORKS? /F:SYSOP "/T:BILL SHIELDS" /C:8 /S:*
: Create public message from SYSOP to Bill shields conference 0
pcbmsg /D:test.fil /M:DEFAULT /F:SYSOP "/T:BILL SHIELDS" /S:P
: Create file to SYSOP from DOS conference 1
pcbmsg /D:test.fil "/M:DOS COMMENT" /F:DOS /T:SYSOP /C:1 /S:~
---------------------------------[ EOF ]------------------------------------